package com.base.api;

import com.base.bean.CommonFile;
import org.springframework.stereotype.Service;

@Service
public interface ApiCommonFileService {

    CommonFile getByFileCode(String code);

    int insertCommonFile(CommonFile file);

    /**
     * 删除已作废的文件
     * @return
     */
    int deleteOutCommonFile();

    int makeFileOut(String code);

}
